package com.shop.project.mapper;

import java.util.List;

import com.shop.project.domain.Goods;

public interface GoodsMapper {
    Goods selectGoodsById(Long id);

    List<Goods> selectGoodsList(Goods goods);

    int insertGoods(Goods goods);

    int updateGoods(Goods goods);

    int deleteGoodsById(Long id);

    int deleteGoodsByIds(Long[] ids);
}
